<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<div class="background" id="web_bg"> 
		<img style="position: cover;" Border="0" src="全景.jpg" height="100%"
		width="100%" />
	</div>
<style type="text/css"> 
.background{
 position: absolute;  
width: 100%;  
 height: 100%; 
  z-index: -1; 
 } 
</style>
<base
	href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/" %>" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<!--<script type="text/javascript" src=""></script><link href="" type="text/css" rel="stylesheet" />-->
</head>
<script language="javascript" type="text/javascript"></script>
<script type="text/javascript">
function userCheck() {
	if (document.form1.studentnumber.value == ""||!(document.form1.studentnumber.value.length == 10)) {
		window.alert("请输入正确的学号！");
		return false;
	}
	if (document.form1.phone.value == "") {
		window.alert("请输入您的电话号码！");
		return false;
	}
	return true;
}
</script>
<body>
<Font size=5
		style="position: absolute; top: 35%; left: 45%; margin: -50px 0 0 -100px;">
		<center>
		<br>
			<font size="8"><b>验证身份</b></font><br> <br> <font
				size="6"><b>请输入您正确的个人信息</b></font> <br></br>
				<form action="<%=request.getContextPath() %>/CheckPasswordServlet" Method="post" name="form1"
				onsubmit="return userCheck()">
				<input type="hidden" name="action" value="add" />
				<table>
					<tr>
						<td><font size="6">学&nbsp;&nbsp;号：</font></td>
						<td><input class="txtInput" type="text"  style="width:200px; height:25px;"  name="studentnumber" 
							id="studentnumber" maxlength='10' value="1456002000" ></td>
					</tr>

					<tr>
						<td><font size="6">电话号码：</font></td>
						<td><input class="txtInput" type="text" style="width:200px; height:25px;" name="phone"
								id="phone" value="congming"></td>
					</tr>
					<tr>

						<td height="30" valign="bottom" colspan="2" align="center"><input
							type="submit" name="btnLogin" value="提交" 
							onclick="return userCheck();" id="btnLogin" class="btn1" /></td></tr>
							</table></form></center></Font>
</body>
</html>